<template>
  <van-swipe class="my-swipe" :autoplay="10000" indicator-color="#1baeae">
    <van-swipe-item v-for="(item, index) in list" :key="index">
      <img :src="item.carouselUrl" alt="" />
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  props: {
    list: {
      type: Array,
      default() {
        return []
      }
    }
  }
};
</script>

<style lang="less" scoped>
  .my-swipe {
    img {
      width: 100%;
      height: 133px;
    }
  }
  </style>